CC=g++ -Wall 
LIBS= -lxml2 -lm 
CFLAGS=-I /usr/include/libxml2
OPEN_MP=-fopenmp -lgomp
testxml: testxml.o
	$(CC) -o testxml testxml.o $(LIBS)
testxml.o: testxml.c
	$(CC) -c testxml.c $(CFLAGS)
open_mp_example:open_mp_example.c
	$(CC) -o open_mp_example open_mp_example.c $(OPEN_MP)
open_mp_example2:open_mp_example2.c
	$(CC) -o open_mp_example2 open_mp_example2.c $(OPEN_MP)
open_mp_example3:open_mp_example3.c
	$(CC) -o open_mp_example3 open_mp_example3.c $(OPEN_MP)

open_mp_example1:
	$(CC) -o open_mp_example1 open_mp_example1.c $(OPEN_MP)

clean:
	rm -f *.o testxml
